package com.sys.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import com.sys.dao.model.LogInfo;
import com.sys.dao.model.LogSettings;
import com.sys.plat.bean.PageBean;

public interface LogInfoService {
	
	public void listLogInfo(PageBean pb);

	public int delete(String[] ids);

	public LogInfo view(LogInfo logInfo);

	/**
	 * 初始化LogSettings表数捄1�7
	 * 
	 * @return Map<String, LogSettings>()
	 * @author yipeng
	 */
	public Map<String, LogSettings> initLogSettings();

	/**
	 * 插入日志记录
	 * 
	 * @param request
	 * @param session
	 * @author yipeng
	 */
	public void insertLogInfo(HttpServletRequest request, HttpSession session);
	
	
	
	
	
	/**
	 * 初始化LogSettings表数捄1�7
	 * 
	 * @return Map<String, LogSettings>()
	 * @author mabo.ec
	 */
	public Map<String, List> initRightSettings();

	/**
	 * 权限验证
	 * @author mabo.ec
	 */
	public boolean inspectionRight(HttpServletRequest request, HttpSession session);
	public void initUser();
}
